//
//  ViewController.m
//  BlocksKitSample
//
//  Created by 李勇 on 2018/9/8.
//  Copyright © 2018年 李勇. All rights reserved.
//

#import "ViewController.h"
#import "ArrayUtil.h"
#import "ObjectUtil.h"
#import "AlertViewUtil.h"
#import "KVOViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    //测试数组
//    [ArrayUtil test];
    //测试nsobject
//    [ObjectUtil test];
    //测试alert view block
//    [AlertViewUtil test];

}

- (void)viewDidAppear:(BOOL)animated{
    //测试kvo
    [self testBlockKVO];
}

-(void)testBlockKVO{
    KVOViewController *controller = [[KVOViewController alloc] init];
    [self presentViewController:controller animated:NO completion:nil];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}




@end
